package cn.jm.study;

public class Add {
	
	public final static int LENGTG=100;
	public int a[] = new int[LENGTG]; 
	public int b[]= {45,454,545,4,54,54,5,4,546,6,76,67};
	public Add() {
		
//		show();
		System.out.printf("length :%d",b.length);
	}

	public void show() {
		int i;
		for(i=0;i<LENGTG;i++) {
			System.out.printf("%8d",a[i]);
		}
		
	}
	
	public int comp() {
		int i, j;
		j = 0;
		for (i = 1; i <= 100; i++) {
			j = j + i;
		}
		return j;
	}
}
